package com.his.back.dao;

import com.his.back.pojo.tempate;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

public interface tempateMapper {
    int deleteByPrimaryKey(String temName);

    int insert(tempate record);

    int insertSelective(tempate record);

    tempate selectByPrimaryKey(String temName);

    int updateByPrimaryKeySelective(tempate record);

    int updateByPrimaryKey(tempate record);

    List<tempate> selectTemByType(String type);

    String selectProList(String temName);

    @MapKey("tem_name")
    List<Map<String,String>> selectTemByName(String temName,String type);
}